]> dgit.raspbian.org Git - gnome-shell.git/commit
appIcon: End running drag operations on destroy
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sat, 29 Jun 2019 04:32:40 +0000 (01:32 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 24 Jul 2019 21:11:25 +0000 (18:11 -0300)
commit3db1058c2cc844629efea46de1fa2171ff8d09e8
tree6208b254bc98baecbfe212d499cad3f558beb349
parenta57c4c580e3833d26aaaa69b72433ed5d8c61840
appIcon: End running drag operations on destroy

AppIcon makes itself draggable, and handles the various DnD
routines such as 'drag-begin' and 'drag-end' by making the
Overview emit the appropriate signals.

However, when destroyed, the AppIcon does not try to finish
any drag operations that started. That causes the event
blocker in AllView not to be updated correctly when dragging
icons to outside folders.

Make AppIcon emit 'item-drag-end' when a drag operation
started and it's destroyed.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/643
js/ui/appDisplay.js